package com.ruoyi.video.domain;

import com.ruoyi.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 视频表 v_video_info
 * 
 * @author pig13
 * @date 2018-11-11
 */
public class VideoInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Integer id;
	/** 播放地址 */
	private String url;
	/** 所属分类, 若有多个，以逗号分隔，如‘1，2，3’ */
	private String videoTypeIds;
	/** 讲师ID */
	private Integer teacherId;
	/** 封面 */
	private String facePicture;
	/** 标题 */
	private String title;
	/** 别名 */
	private String alias;
	/** 简介 */
	private String description;
	/** 标签 */
	private String tags;
	/** 视频格式, 如mp4, avi等 */
	private String videoFormat;
	/** 状态（0正常 1发布者可见 2管理员可见 3停用） */
	private String status;
	/** 删除标志（0代表存在 1代表删除） */
	private String delFlag;


	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setUrl(String url) 
	{
		this.url = url;
	}

	public String getUrl() 
	{
		return url;
	}
	public void setVideoTypeIds(String videoTypeIds) 
	{
		this.videoTypeIds = videoTypeIds;
	}

	public String getVideoTypeIds() 
	{
		return videoTypeIds;
	}
	public void setTeacherId(Integer teacherId) 
	{
		this.teacherId = teacherId;
	}

	public Integer getTeacherId() 
	{
		return teacherId;
	}
	public void setFacePicture(String facePicture) 
	{
		this.facePicture = facePicture;
	}

	public String getFacePicture() 
	{
		return facePicture;
	}
	public void setTitle(String title) 
	{
		this.title = title;
	}

	public String getTitle() 
	{
		return title;
	}
	public void setAlias(String alias) 
	{
		this.alias = alias;
	}

	public String getAlias() 
	{
		return alias;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}
	public void setTags(String tags) 
	{
		this.tags = tags;
	}

	public String getTags() 
	{
		return tags;
	}
	public void setVideoFormat(String videoFormat) 
	{
		this.videoFormat = videoFormat;
	}

	public String getVideoFormat() 
	{
		return videoFormat;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setDelFlag(String delFlag) 
	{
		this.delFlag = delFlag;
	}

	public String getDelFlag() 
	{
		return delFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("url", getUrl())
            .append("videoTypeIds", getVideoTypeIds())
            .append("teacherId", getTeacherId())
            .append("facePicture", getFacePicture())
            .append("title", getTitle())
            .append("alias", getAlias())
            .append("description", getDescription())
            .append("tags", getTags())
            .append("videoFormat", getVideoFormat())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
